function commonParser(params,info,defaultParams,stageWidth,editing){
	//设置层级
	if(info.zindex){
		params.box.css("z-index",info.zindex);
	}else{
		params.box.css("z-index",defaultParams.defaultZindex);
	}
	
	//判断是否有效果需要加载
	var props = info.opts;
	var showType = "";
	var showTime = "";
	var animateType = "";
	var opacity = "";
	for(var i = 0; i < props.length; i++){
		var prop = props[i];
		if("showtype" == prop.text){
			showType = prop.content;//获取进入效果类型
		}
		if("showtime" == prop.text){
			showTime = prop.content;//获取进入效果速度
		}
		if("animatetype" == prop.text){
			animateType = prop.content;//获取动画效果类型
		}
		if("opacity" == prop.text){
			opacity = prop.content;//获取动画效果速度
		}
	}
	
	//设置宽度
	var width;
	//此次height应为根据宽度计算得来的，而不是占屏幕高度的百分比
	var height;
	var left;
	var top;
	
	//获取宽度
	if(info.width){
		width = stageWidth* info.width / 100;
	}else{
		if(!info.width){
			width = stageWidth* defaultParams.defaultWidth / 100;
		}else{
			width = stageWidth* info.width / 100;
		}
	}
	
	//获取高度
	if(info.height){
		height = stageWidth * info.height / 100;
	}else{
		if(!info.height){
			height = stageWidth * defaultParams.defaultHeight / 100;
		}else{
			height = stageWidth * info.height / 100;
		}
	}
	
	//获取左边距
	if(info.mleft){
		left = stageWidth* info.mleft / 100;
	}else{
		left = stageWidth* defaultParams.defaultLeft / 100;
	}
	
	//此次top应为根据宽度计算得来的，而不是占屏幕高度的百分比
	var position = params.box.css("position");
	var winHeight = $(window).height();
	if(info.top){
		if(info.isNew){
			top = info.top;
			 $("body,html").animate({
				 scrollTop:info.top //让body的scrollTop等于info的top，就实现了滚动
			 },0);
		}else{
			if("fixed" == position){
				//固定位以浏览器高度 百分比为参照，慎重使用
				top = info.top * (winHeight-height);
			}else{
				top = stageWidth * info.top / 100;
			}
			
		}
	}else{
		if("fixed" == position){
			//固定位以浏览器高度 百分比为参照，慎重使用
			top = 0;
		}else{
			top = stageWidth * defaultParams.defaultTop / 100;
		}
	}
	
	//编辑状态下不进入效果
	var time = 1000;
	if("slow" == showTime){
		time = 3000;
	}else if("normal" == showTime){
		time = 2000;
	}else if("fast" == showTime){
		time = 1000;
	}
	if(""!= showType && "1" != showType && !editing){
		var whdata = {
				width:width,
				height:height,
				left:left,
				top:top
			};
		if(null != opacity && "" != opacity){
			whdata.opacity = opacity;
		}else{
			whdata.opacity = "1";
		}
		renderShow(params.box,showType,time,stageWidth, winHeight,whdata);
	}else{
		params.box.css("width",width+"px");
		params.box.css("height",height+"px");
		params.box.css("left",left+"px");
		params.box.css("top",top+"px");
	}
	//如果有存在动画效果，渲染动画效果
	if(""!= animateType && "1" != animateType && !editing){
		renderAnimate(params.box,animateType,time);
	}
}

//渲染进入效果
function renderShow(box,showType,time,stageWidth,winHeight,data){
	var dataTo = {
			opacity : data.opacity
	};
	if("10" == showType){
		var scrollTop = getScrollTop();
		box.css("opacity",0);
		box.css("width",data.width);
		box.css("height",data.height);
		box.css("left",data.left+"px");
		box.css("top",(scrollTop-data.height)+"px");
		dataTo.top = data.top+"px";
	}else if("20" == showType){
		box.css("opacity",0);
		box.css("width",data.width+"px");
		box.css("height",data.height+"px");
		box.css("top",data.top+"px");
		box.css("right","0px");
		dataTo.right = (stageWidth - data.left - data.width)+"px";
	}else if("30" == showType){
		var scrollTop = getScrollTop();
		box.css("opacity",0);
		box.css("width",data.width);
		box.css("height",data.height);
		box.css("left",data.left+"px");
		box.css("top",(scrollTop+winHeight)+"px");
		dataTo.top = data.top+"px";
	}else if("40" == showType){
		box.css("opacity",0);
		box.css("width",data.width+"px");
		box.css("height",data.height+"px");
		box.css("top",data.top+"px");
		box.css("left","0px");
		dataTo.left = data.left+"px";
	}else if("50" == showType){
		//透明变清晰
		box.css("opacity",0);
		box.css("width",data.width+"px");
		box.css("height",data.height+"px");
		box.css("top",data.top+"px");
		box.css("left", data.left + "px");
	}else if("60" == showType){
		//最小放大
		box.css("opacity",0);
		box.css("width","0px");
		box.css("height","0px");
		var ttop = data.top+data.height/2;
		var tleft = data.left+data.width/2;
		box.css("top",ttop+"px");
		box.css("left",tleft + "px");
		dataTo.left = data.left+"px";
		dataTo.top = data.top+"px";
		dataTo.width = data.width+"px";
		dataTo.height = data.height+"px";
	}
	box.animate(dataTo,time);
	
}
//获取滚动条位置
function getScrollTop(){
	return document.body.scrollTop||document.documentElement.scrollTop;
}
//渲染动画效果
function renderAnimate(box,animateTypeStr,time){
	if("" != animateTypeStr){
		var leftAnimate = new Array();
		var animateTypes = animateTypeStr.split(";");
		if(animateTypes.length > 1){
			for(var i = 1; i < animateTypes.length; i++){
				leftAnimate.push(animateTypes[i]);
			}
		}
		var animateType = animateTypes[0];
		var dataTo = {};
		var rotateDegree = 360;
		if("10" == animateType){
			box.rotate({
				duration:time,
				animateTo:rotateDegree,
				easing: function (x, t, b, c, d) {
					var degree = c * (t / d) + b;
					return degree;
				},
				callback:function(){
					if(leftAnimate.length>0){
						renderAnimate(box,leftAnimate.join(";"),time);
					}
				}
			});
		}else if("20" == animateType){
			box.rotate({
				duration:time,
				animateTo:-rotateDegree,
				easing: function (x, t, b, c, d) {
					var degree = c * (t / d) + b;
					return degree;
				},
				callback:function(){
					if(leftAnimate.length>0){
						renderAnimate(box,leftAnimate.join(";"),time);
					}
				}
			});
		}else if("30" == animateType){
			box.animate({zIndex:box.css("z-index")});
			dataTo.perspective = "0px";
			dataTo.rotateX = rotateDegree;
			box.transition(dataTo,time,function(){
				if(leftAnimate.length>0){
					renderAnimate(box,leftAnimate.join(";"),time);
				}
			});
		}else if("40" == animateType){
			box.animate({zIndex:box.css("z-index")});
			dataTo.perspective = "0px";
			dataTo.rotateY = rotateDegree;
			box.transition(dataTo,time,function(){
				if(leftAnimate.length>0){
					renderAnimate(box,leftAnimate.join(";"),time);
				}
			});
		}else if("50" == animateType){
			box.animate({zIndex:box.css("z-index")});
			dataTo.perspective = "0px";
			dataTo.rotateX = rotateDegree;
			dataTo.rotateY = rotateDegree;
			box.transition(dataTo,time,function(){
				if(leftAnimate.length>0){
					renderAnimate(box,leftAnimate.join(";"),time);
				}
			});
		}
	}
}
